package org.groovymud.shell.security.callbacks;

import org.groovymud.shell.io.TerminalIO;
import org.groovymud.shell.security.MudLoginModuleData;

import javax.security.auth.callback.Callback;
import javax.security.auth.callback.UnsupportedCallbackException;
import java.io.IOException;
import java.util.Map;

public interface SelfHandlingCallback extends Callback{
    void handle(TerminalIO terminalIO, Map<String, Object> callbackData) throws IOException, UnsupportedCallbackException;
}
